package vn.axonactive.devday.jsf.session1;

import java.io.Serializable;

public class Language implements Serializable {
	
	private static final long serialVersionUID = 1L;

	private String name;
	
	private String code;

	public Language() {
	}
	
	public Language(String code, String name) {
		this.setName(name);
		this.setCode(code);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
}
